programming assignment week2 part3