Added testing in Main.java (equality for input/output).