<prompt> Translate the following text to SwahiliOn one hand, their revenge was perfectly in accord with the samurai code of honor; on the other, they had murdered a high official.  <response>: Kwa upande mmoja, kulipiza kisasi kwao kulikuwa kulingana kabisa na kanuni ya heshima ya samurai; kwa upande mwingine, walikuwa wameua ofisa wa cheo cha juu. 