Added functions to retrieve the head and tail of a list.  Functions for swapping pointer to use in list reversal is still a work in progress.