Implemented cut, copy, paste, and save to file