Fix some typos

* successfull -> successful
* excess closing parentheses in the examples
* idenity -> identity