starting a larger example
working, needs refactoring, and package application
removed superflurous import Element.elem
initial working chapter16 insertion sort
translated to use List pattern matching