Implemented my_strlen function