One more less smart solution to the two sum problem.