Implemented primitive collision detection

It sucks lolz
Bug found

Collision only works if platform is larger than player hitbox
Bug Fixed

added one more condition in collision