Update Solution.java

Reverted to original main method.