Binary search doesn't seem to be working... Will fix tomorrow