Add implementation for insertion sort in ruby