Update AnagramSolver.java

Organized imports and fixed spacing.