SumOfMultiples exercise | 2nd iteration