Genus of a Plane Curve