ruby console application to print prime multiplication table