Update to original vimscript to detail how it works
Refactoring to python

Added in python regexes to replace the vim regexes. Need to consider
file i/o, saving, and alternative methods of scanning through things.