Update exercise3.js