programs from course introduction to algorytm