Added polygon search and unit test