Three Dimensional Array Program