Added some methods”

git commit -i Main.java -m Added