Stub implementation of graph coloring in preparation for code gen for AD