adding 2-d array