programming assignment 1 continued