Pilot Scheduling based on Water-filling Algorithm in Massive MIMO