Extend array() method to allow length validation, readme formatting tweaks