Homework 1: Refactoring and Legacy Code