starting code for in class exercises on head first design patterns