started implementing square jump functionality: should only jump when on ground.