Naive (but fast) solution
Solution using bitwise and operator
Rename to Solution1