Added _convert_to_hash function.
This will be used in the queries and insertions to convert the data point
into the integer represented by the binary hash.
Updated _generate_masks to work with cached hashes.
Changed the insert function to accpet a batch of data points(a 2D array).
Now trees and original indices are stored in lists. Tests for insert and fit
functions have been updated.