Replace SOL_LIST_ITR_BEGIN and SOL_LIST_ITR_END with a single macro,
SOL_LIST_ITR using a for loop which is cleaner and much simpler to
debug.