Update StringLibrary

Fixed bug in compareTo and compareToIgnoreCase where not comparing lexicographically