add canJump.cpp