Implement dotimes. Closes #93