fixed douplicates, may still have mem leak, removed free(histogram_temp)
due to segfault, allows no command line arguments.