added binary insert and search