make all array loops into for length loops
removed console.logs
optimized tests
Merge branch 'fix-#26'
version bumped