added newline and loop tokens to scanner