first step of porting to python3
writing works fine
code pass the tests
code pass reading, writing, creating, deliting and printing