Dumb homework for CSci 160 class