edit the file for programming assignment2