Initial commit of Haskell nimber library

Signed-off-by: Anders Kaseorg <andersk@mit.edu>