Simple Insertion Sort algorithm implementation