implemented add instruction