Create Ex3Functional.java