Added an example of pickling in python