testing the line drawing method + set line color