Use 2d array to visualize forest

I try to visualize forest by using 2d array and allow user to input
width and length of forest.