Stupid graph implementation using C++11/14 features