Etc...

* Improve comments.
* Refactoring to glider().
* Change the arrangement of functions.