add & modify

1. add comments
2. modify capitalize toLowerCase() the rest of the string
3. add startsWith()
4. modify endsWith() to check if(end.length > string.length)