Beginning of class to simulate drawing of line