IPP: programming assignment #2