added an example on how to iterate over all the values of an enum