Done. Replaced pointer arithmetic with array index operators.