ruby console application to generate primes multiplication table