Implement createReport() for reporting of result.

Implement createReport() for reporting of result.