Basic 2d platformer engine built on pygame