Addded movement to player
collision detection