added lexicographical_compare algorithm & test cases

Please review.
also pass `context` as a constructor argument here in case `queue`'s context is different from the default context.