Changed ReadAll interface
Adapted readAll interface
Formatting
Array test cases & fixes