[algorithms][relate] add missing includes; qualify binary_search with std:: namespace
Merge pull request #103 from mkaravel/fix/relate

Algorithms / relate