replaced SOS_WAIT1/2/3 with SOS_WAIT
replaced SOS_LEN1 with SOS_LEN
deleted SOS_COMPS state
replaced all XYZ_LEN1 with XYZ_LEN
added measurement of execution time
replaced data_i with byte
removed DQT_INFO state
removed all SOF states and left only one
removed a few "byte = fgetc(fp);"
removed SOS_HID state
renamed LumChr and ht_st enums
now ansi c compliant
deleted -ansi option again as the program is too slow
deleted write_pgm()