Use namedtuples for Position and Token