Refactored utils functions
Fixed colour printing to work on white backgrounds
Merge pull request #17 from iiSeymour/refactor

Some refactoring