implemented cell color coding (sans helper method suggested by course directions)