Added ring buffer support over arrays; ready-to-be-tested Edmonds-Karp implementation of maxflow