algorithm exercises form Cormen et al.