Solved problem 31

Also, I believe I forgot to upload names.txt earlier... so there's that