Moved implementation of Synthesis class into combinatorics.py file.