printArray() added to type examples