Moved BuildExpression to regex.py

There was a circular dependency being formed, this should fix it. Besides, this feels like it belongs in the regex library anyway.
Added docstrings and working of fixing bugs.
Merge branch 'master' of https://github.com/Zinfidel/cs554-project1
Suppressed the damned quote character.
Suppressed the damned quote character.