Implemented MST get answer