Practice wrapping C in python