Corrected new arrays and strings

Using Array.new and String.new