Added print_reports function. Cleaned file