make hashtable work and add readin file code