Expand the section on lists, arrays and sequences

Reorder sections as well
Improve the section on functions