struggled but made CountingMinutes.js work for test cases