Playing with neural networks and AD in haskell.