First Fit Program in C-Algorithm and Explanation