Implemented insertion sort

took around 4 hours but now the ability for the nodes to be sorted has
been placed
Time

Minor changes