Bitwise And Hackerrank Solution