Player physics working

gravity and basic bounding box collision added
sprites can now be flipped
game object sorted