Computer homework 3-1 Perfect Squares and square roots