A small FEM code for educational purposes