Added quick tutorial and extended the gate class to output strings in Revlib format