Create cos332prac3.java