takes character input and draws rectangles\!