Corrected errors and added "Text" and "Tkinter" files

corrected - if same conc, then error occur and 2. con. initilialised back to 0 if degeneracy occured