Added instance method for MST  API
Added MaxFlow API