Pickling and unpickling in python with example