Index 3 Out Of Bounds For Length 3