C++ implementation of graph500 and comparison with GT reference code