Added collision with platforms and player

Added collision between the player and all platforms