I try to do a random walk for n particles in three dimensions. To do so I created an array with random initial data with n times 3 entries. Then I created a function that ad