First iterative algorithm

Tries to find two numbers that, when added together, equal 10.