Refactored the parse_array routine.
-no longer recursive.
-added additional error exceptions during parsing if the file is invalid (included a new test case for this).
added a new verbose error printing mode.