programming assignment no.2