Modelling The Folding Pathway Of Dna Nanostructures