three method to display array[][]