Add Anders' script to generate dofs to the repository