add player, collisions and  jumping (with gravity flipping)