add implementation of TFraction and tests for it.