inits results array outside of for loop
Merge branch 'master' of github.com:adamgibbons/learnyounode