Initializing self inside generator classes protected constructor
Merge branch 'master' of github.com:renatocf/MAC0315-EP1
Changing self to a pointer for back compatibility with gcc 4.6