add lambda example. thanks to Nada Amin for fixing the order-of-definitions bug.