add function that can read file to memory;can run program I: read 20 numbers, and then read 1 number, print the number in 20 numbers closest to the last inputed number