Changed set iterator to use TVec, added len and delitem methods