add 1864 a simple rational number class