exercise 23: cube with colored faces