Minor fixes to the examples so that they compile and install correctly when using cabal.
Update readme. #13