Who does Andy Dufresne befriend during his time at the prison ?
His diligent work results in a major expansion of the library 's collection , and he also helps a number of prisoners earn equivalency diplomas , preparing them for life after parole .