Made castling, pawn upgrading;simpler isMated
Made castling, pawn upgrading;simpler isMated
fixed another little pawn bug