Create a DominoChecker java file for a mitbbs question