hw6 paired group problems, finished