Program that iterates and finds multiples