Arc-Coloring of Directed Hypergraphs and Brick-Coloring of Walls