1) change definition of colour from const char* to define;
2) fix bug of missing a namespace std befefore endl.