Fix typo in section 2.7

Fix `set_elem` in section 2.7 mistakenly written as `set_'elem`