Save particles to sample.txt