added more string algorithms