added binary search through iteration, recursion and also first occurance and last occurance