program to generate multiples