TaskTwo of JS Exam - Recursive