add some code to InsertSort class