Add ex 27 lengths_for, _map, _list functions