added a basic implementation of "paste" in python, as some systems dont have it