Basic 2d Platformer Code For Python