changed file readin from line to char
updated txt files, need to handle different hash array length