assignment # 3 for drawing on the web