Let say you have a 2D array which store pixel value of an image . Write a program to convert 2D data in 1D array so that i can have random access to data with given (x,y) coordinate .