added statistics function
Merge remote-tracking branch 'origin' into logs
Merge pull request #8 from adrianblp/logs

Logs