(a) Drivers of vehicles proceeding in opposite directions shall pass each other to the right, and upon roadways having width for not more than one line of traffic in each direction each driver shall give to the other at least one half of the main-traveled portion of the roadway as nearly as possible.
(b) Any person violating the provisions of this section is guilty of a misdemeanor and, upon conviction thereof, shall be fined not more than $100; upon a second conviction within one year thereafter, shall be fined not more than $200; and upon a third or subsequent conviction, shall be fined not more than $500.