master adding Programming Assignment 3