Adding JavaScript-Loops-Arrays-Strings homework