Bug fixes and minor optimisations
Bug fixes and minor optimisations

Major refactoring
Brought command line parsing back
Used named tuples
Renamed some variables to be more self-documenting
Added docstrings and comments
Cleaned up excessive indian copy-paste code

Spacehug/pyborgeous