formal languages and compilers class - excercises