Weird bug on two of the test cases. Keeps giving uninitialized errors, but the output is right. Only on test cases 2 and 3.