Add a check to prevent the user from passing two dimensions
with the same name to the Patch or Grid object initializer.
Modify the msg
revert unintended change
Merge pull request #237 from amal-ghamdi/fix_repeated_dim_name

 #187 fix: Add a check to prevent the user from adding two dimensions with the same name