Made QuadWriter public
Implmented Math instructions and most boolean instructions