Added comments to the C code for all the problems solved so far.
Added error handling in case of memory allocation error for problems 35, 46, 47, 49 and 50.
Added solutions for problems from 41 to 5, both in C and python