Update homework.js

Yay! Figured out how to use _.pluck and _.contains. Changes made.