This holds code from Gene Price's cs homework