add player/platform collision

the player can no longer fall through the platforms
Player checks for collisions with each platforms and stops the player if
there is one.