Added Player class
Added collision detection