Notes on affine Hecke algebras