inital attempt at two sum problem