added animated Variable, modified insertion sort to new animation system