-- Checks whether two units can react, i.e. are the same character in different cases.
react::Char->Char->Bool
reactc1c2=c1/=c2&&toLowerc1==toLowerc2
-- Returns a list which contains a pair for each character from 'a' to 'z' with the character and the given string with all occurences (ignoring case) of that character removed.