Day2 some more programs

anagram, repeated character