How do I draw a grid of lines? I have attempted using some coding given in books but I cannot display more than one line