Basic graph implementation in preparation for graph processing algorithms