Extensive Work on Assignment 3