Code cleanup & much improved Write instruction

Made String it’s own production, takes in an attribute, less duplicate
code. Write now handles immediate strings, even multiple ones e.g.
write “hello”, “string”