• + 0 comments

    In the last for, i should be initialized to 0, not 1