added basic player and collision detection