added basic AI, moving platform, fixed jumping