Constructing hamiltonian decompositions of complete $K$-uniform hypergraphs