Made all functions, all cept 7 and 9 test cases work, assigning zero to array 2 values