plane and two sum problem solved