https://github.com/VDBWRAIR/Haskell-MAAPs/blob/master/src/Lib.hs#L112-L114 `i` is used instead of the calculated ntIndex variable.
https://github.com/VDBWRAIR/Haskell-MAAPs/blob/master/src/Lib.hs#L112-L114
iis used instead of the calculated ntIndex variable.