restricted player to game boundries
made collisions an method on enemy class
working collision between player and enemy