init now takes x and y, moveRandom function added needs more elaboration