created mini program to find multiples of variable factors