Adding graph-decompose script (WIP)