working on ne algorithm to colors faces of solids

working on a more general algorithm to color faces of any solid.
instead of making a unique function for each.