Sanitizing Machine with Smart Allocation of Water Resources