Added homework 3 from js-basics