Add function close_file
Add function print_statistics_to_file, update main function
Add if statement in main function to check whether the number of given parameters is 3 or not
Add if statement in main function to check whether the item in directory is file or not
Add new line at the end of first_task.py to match pep8