changed directory structure + added MST algorithm