Added one more function to Frog jump