Rearranged the folders and added C version of the code