removed superflous code
added missing bracket
added beta version of algorithm to calculate non-extendible repeats
removed superflous code