My solved intro to java exercises