A modified version of the Homework 9 assignment for CS 3744 at Virginia Tech during Fall Semester 2013