Assignment 1 for compilers lab