Add Submit function with testing

I added a Submit function following your conventions as best I could. I also added a testing file.
I don't know if this is necessary because there is only one thing to which things can be submitted: subreddits.