Moved implementation of BuildingBlock class into combinatorics.py file.