made dartboard function more efficient by storing calculated values in private array