Here is the Code.
you may need to change it a bit
Hopefully it Help you out :-)
5.4m questions
7.0m answers