Added answers for programming assignment #2