Added exercise3.js