Computer homework 2-5