Codewars Bit Counting Java solution

Published --