Determines a solution set to the four fours game.