I have been editing a code I found that models a 2 cart system using Euler's Method in an attempt to make it a 3 cart system. However, on line 63 I am recieving an error that states "Array indices must be positive integers or logical values." I am not sure what this means or how to fix it. Any help would be apprecieted. Thanks!