Update hw5.js