added verticalLine drawing method