Collision detection/ platform hittest

Player movement and added collision detection and platform hittests.