submitted assignmen 1 problem 5