insertionsort program

demostrates insertion sort with simple list search, but with a
choice to do ascending or descending order sorting.
The elements of the array are integers