added solution for problem 1, OOP JS, week 2