Added Exercise1.java file