- added method to inverse a string
- added exception in documentation (GetCommonPrefix)