using distro code and completing a program to use a sorting algorithm as well as binary search