coursera programming assignment - edit