Refactored deleteNode(T) method
Added test for sort(T).
Added method for Insertion sort.