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

Refactor