Implemented a simple build graph.