Add examples of anonymous function use and using an array as a queue.