the function jump is added.
the new method jump with gravity is added.
new method 'gameloop' with gravity is added.