Update Main.java

removed unsused list