Fomin's algorithm implemented.
Tranformation to bipartite graph and reduction to maximum matching for
bipartite graphs (= Ford-Fulkerson) implemented.

Signed-off-by: Friker <viktor.tomkovic@gmail.com>