Convert problem25 to cmake