Write a function which simulates a throw of two dice and returns the total score. Use the intrinsic subroutine RANDOM_NUMBER to obtain pseudo-random numbers to simulate the throw of the dice.