committing the Ex2.java too