switched from getc to fread in Array program.