Create num-of-ones-sol2.c