Adds code for 16 node graph