demo of python struct pack and unpack