Drawing lines on click