Add solution for C
Merge pull request #6 from crawford/c

Add solution for C