added functions strcmp and strlen