HW6: Implemented up through step 3. Compiles now.