implemented append instruction in backend and code generator