split string into numerator and denominator methods added, not tested yet