added comments to prob1 answer.js