start of java homework