Create func.c

Moved strlen