Codifying trees and multitrees of a complete graph