Refactor Deg::deg into Deg::generate
Make Deg non instantiable
Fix Deg::generate logic to be more readable
Merge pull request #2 from pbhandari/refactor/util/deg

Refactor util/deg