Small test program to exercise the code. Try to be less clever with pointers and let the compiler do its thing.