draw the lines and implement the clear all method