Added 'each' methods to weak tables where they're actually useful (for iterating over weak tables without incurring an allocation).
Finally put a bunch of stuff that was in samples.simple in their own files