Linear Algebra over a Ring/Chain complexes of finitely generated free modules