All code was written by Jorge Quero as a revision to the CSCI201 final project at the University of Southern California.