Added quality function
Added spam counter
Merge pull request #4 from Breilly38/master

Added quality function