Added collision detection, player input.