program frees all nodes
Sedgewick parallel array example.