Adding .java for MST