Made it so that the links generated when adding a sequence with no match have ranges that match the ranges in Po-Ru's code and also rearranged some of the code to fit 80 columns