Implemented Scanner and Token