A test of platformer physics and collision using pygame