[Week 4 Addition] added the factory code for week 4 homework. Completed Week 4 homework