Added challenge #3 in C