added array types as syntax. added functionType as an option in object types such as interfaces or anonymous.