Wrote BoundarySearch class for new project structure