A first course in the finite element method