Update README.md

Updated readme and Main.java