hw11 solution and hw 12