Wrote all the productions, but syntax fails. Will find out why tomorrow.