Create file .gitignore to ignore *.class in repository
Comment main function, now you need to start program from Main class