dice with symbols uses class variables and rand