Chaning name for middle of board edge case detection
adding type decleration for jumpedgecondition function