solution to problem 1, multiples of 3 and 5