Added comments detailing code.
Added more comments detailing process.