Added checks for being base prime. Also added checks for equality of bases of numbers in arithmetic operations.
Added possibility to enter rational numbers in base 10.