added lexicographical_compare algorithm & test cases

Please review.
you should pass `queue` as the last argument here so that the `any_of()` algorithm is also executed on the same command queue.