Insertion Sort implementation.