Board.setUpProblem() now throws an IllegalArgumentException if the diagram contains illegal characters.