Adding Array functionality. Initial chang in the input parsing strategy