Finished up the binary search function, still need to add code for performing remove key function.