Simulate rolling two dice 500 times

Simulate rolling two dice 500 times. Each die has a value from 1 to 6. Calculate the sum of the two values. Print frequency of possible combination in a 2D format.