Add break statement from inner for loop because extra checks aren't necessary
Add method for reversing C style strings