Create v1.c

Simple and optimized for space. No extra memory is allocated.              

Returns NULL on illegal input and on allocation errors.                    

Best usecase: Short strings or string with large variance of sizes.