Did Assignent 2 h) and added it as comment at the end of GeneratorTest