Update Rodas_Reinel_project3.js

added a nested