algorithm web course exercises