An implementation of a moving finite element method