fixed expression list

fixed the expressions section in language ref and added higher order functions to the grammar in language ref