Computer homework 3-1