adding termcolor to repo, adding finished example. Simple refactoring of source code