Clean up Python examples. Closes #17