Finished re-writing library list processing function from chapter 4 of Real World Haskell.