updated hw 6 and cmake files