Added answer to 7 (a) and output3.txt which is the output of grammar7