Implemented cut and paste