add simple function to determine wheter set elements are in sorted order
add simple recursive insertion sort algorithm