Insertion sort example for educational/experimental purposes