Added a submissions helper function

I don't know if the 100 numbers are correct in the comment, but since the idea and everything else is exactly the same, I just extracted the main generator function portion and added a submissions generator. I'm looking to work on a moderator bot that watches incoming new submissions to make sure they follow various rules, so a submissions generator is useful for that.