added compiler class and updated scanner and token