Add C brute force solution for Problem 5