Ported code to python3

plus 3 tests
plus 2 media files