Case insensitive guessing, main loop added