Binary search code, generates random integer array of a size provided by user and searches for a user entered key