Add C, javascript solutions for problem 0008.