Added option to exit from hashtable prog.