Refactoring of object structure; color/uncolor, keeping track of valid colors for each cell