I have one implementation to support multi-dimension array with unit tests also. I'm not able to push a branch to repo to raise a PR though.