removed wrong todo
added explanation and TODO
calculating some more basic statistics
handling potential divisions by zero gracefully
work on CSV output