Exercise #1 for CSci 211.