Fix Array Printing bug

All tests now pass
Merge pull request #35 from maxsnew/tests

Fix Array Printing bug