introduced test logging; fixed some logic bugs
debugging log
debugging log
finished logging
colorized output using termcolor library