Added labels to edges an vertices for debugging
Transformed caffeine in to code