programming assignment 1 finished