Update freqaddr.c

added some error messages with stderr. sort still not working