finished implementing string utils