Create printLeaves.java