added random state generation for the bodies in a system