Added beginings of dict file and updated algorithm
Added dictionary