prepared for Dinic's algorithm

Added simple adjacency-list flow network representation
Added basic operations with flow network