Update Main.java

Closes #2
Merge pull request #8 from leonkunert/master

Update Main.java