Added persistence.
Add comment.
Merge pull request #17 from PreetamJinka/gob

Add persistence functions.