BC's sorted arrays lab