A simple anagram solver written in C