Python version of struct benchmark
Cleanup