added reports.php and function to print report table