Create maxPath.java