creating two dimensional arrays
using nested loops for printing two dimensional array