week0, set 2 problems from HackBulgaria's JavaScript course