added Factor.java and Week5.java