Count Set Bits In An Integer Leetcode Javascript 30