Extension

Write two extensions for Python