HW6: Starter code.  Broken until implementation complete.