design: added functions section

Added section on functions, highlighting how they are defined and used. Also added argument binding and contextual calls section.