Added search algorithm

This committ gets a wrong answer on UVA