Fixing silly mistake that caused 1 test case to fail. The index of first element, i.e. a was being set to 1 instead of 0. This cost me 45 points in the QR. Glad I still qualified for R1.
Adding status - CORRECT / INCORRECT after results from QR.