Adds compact method to Array, fixes minor bool bug
Adds compact method to Array, fixes minor bool bug

- Adds the compact function to the Array class
- Fixes a bug which populated the field with booleans

tarnap/2048ai