correction in the else block of insertSort..