Final version of working code and short essay