slight modifications to btree and added timing
changed time to microsecondes