RangeException fix
JS Loops homework
BS tree, not implemented