solved ALG2 selfstudy-questions