Added a C version that uses dynamic programming