small examples written while reading parallel and concurrent haskell