Create exercise3.java