Wrote recursive and iterative binary searches.