added lexicographical_compare algorithm & test cases
Merge pull request #307 from Mageswaran1989/lexicographical_compare

added lexicographical_compare algorithm & test cases