Re-implementation of coreutils in Python 3