Code Written for Assignment 4 of my Computer Security class