changes made

#1 random initialisation
#2 1 sec delay for movement
#3 colliding and hasEaten functions issue resolved
#4 checking of bounds issue resolved
#5 movement function modified