Text this: Programming the finite element method