ErrorMessages and GlobalConstants

It regularizes error messages and use of characters and Strings in .java
files.
- Added test for `BigNumber.factorialOf(BigNumber)` method
Rearranged code