__init__.py added
.gitignore added
function renamed to convert
imports moved inside function