Week 6 Problem A Two-Sum Problem Solved