Added new feature: branch point by differentiating it from crossing points. Endpoint=RED, branchpoint=YELLOW, crosspoint=GREEN. Changed drawing colour from black to gray for easier reading of these points.