Added some test for array, debugged it and started on the states of my labs