CS 2410 Program 6