HackerRank Day 29: Bitwise AND problem solution - TheCScience