Lie Algebras of Finite and Affine Type