JS solutions for Problem 27,35,58
JS Solution to Problem 69