Implement HashMatrix with a two-dimensional array instead of a nested
HashMap in version 1.0