programming Assign. 2