Graph can now merge non adjacent nodes
Used mapping in graph_cut.py
Naming changes and formatting
Added connectivity parameter and a function input to merge_nodes
Made test Python3 compatible
Formatting and typos
removed commented stataments