Added working jump code

Mario will now rebound off the ceiling and the code is dynamic