Fred: replace print(..., os.clock()) with print_time(...) throughout