fixed labels
added a generators version to python for problem 2