Final version of Dictonary, now everything working, writing to the file
after doing things ))