answers for practices in book(Compilers)