Assignment 3 for the course CS 345 at Drexel University