added 'prueba3.txt' file and implemented function 'generateOutput' in 'repeated_words.js' file