HW3 programming assignment resolved