freq table complete, returning -1 for EOF instead of 256
freq table complete, returning -1 for EOF instead of 256
fixed implementation of EOF, now stores as 256