Merge pull request #9 from steventlamb/topic/add_history_lib

Topic/add history lib
Update README.md
Add support for keeping intermediate values

fixes #8 on github