Edited Generator Framework

Added methods for ending the level and for accessing variables/methods
in MyLevel.