Updated expreg.py and created test.py

expreg.py now has a function to parse raw regular expresions to project
formatted version
test.py is a file that tests everything done by now