Rational Design Of Functional Heterostructures In Low-Dimensional Nanomaterials