added lexicographical_compare algorithm & test cases

Please review.
The test doesn't define any doxygen snippets so you should remove this (otherwise doxygen will have warnings/errors).