more updates to write_ops

write_ops now puts the different arithmetic opcodes(the green block on the
website chart) in the switch statement