add py/main.py and start writing py implementation