Fixed bug in creation of multi-dim arrays.
Implemented java.lang.Integer.bitCount().

Because it is used by Scala's Map.