insertion sort demo almost works now