Code now a little easier to read. Fixed color printing.