It's all done! This passes all tests up to 41, and that's all the ones I have!