Changed return type of str_to_rational to Result<BigRational, &str> vs (BigRational, &str)