Wrote client program to write list of ints