programming Assignmnet2