add array and object examples to README