attempt at a C nmea parser