Calculates and prints out a multiplication table of prime numbers.