added parse() and toString to RatNum