implements canJumpOver and jumpToSquare methods in Session class