Update GrammarSolver.java

Small correction regarding spacing.