Port of some of clojures persistent data structures in Python