Added function support. There is function calling implemented in syntax,
but not function definition.