more about scope, add example refactor section, use grep

submitted pull request about using Array#grep over select