Added python scripts for future reference

These python scripts sort of works, but not entirely, and I wanted to
experiment with typescript.