add the strlen function of my own