removed one line double for loops added colorCell method