head and tail matches Haskell semantics, closes #21
Merge pull request #22 from milktrader/headstails

head and tail matches Haskell semantics, closes #21