Create Factor.java and TestFactor.java for Project Euler