Create printFactors.java