added unique characters algorithm
Added Jasmine testing