-on what lines do you get the errors?
-where have you declared the arrays?
-why do you have an 'a' the (i) in pic(i)a.image?

Edit: oh oops ignore question 2