Basic input and flocking algorithm (needs fine tuning)