add bucketsort
free memory
add binary search