Create fern in C