Add c solution to challenge 3