struct_sample.py: sample code for struct module