Add code for Bays-Durham shuffle.  Rename a couple of functions.  Comment to indicate which functions are for testing only.