Added oneToTenMethod

This method returns a random number from 1 to 10