Simulating How Proteins Self-Assemble, Or Fold