Fixed up reverse.c to handle NULL characters properly, fixed chessboard.c to work properly