algorithm practice from coderbyte