solves euler problem 1, mult of 3 or 5