Adding solution for "Sansa and XOR" problem featured on Hacker rank
weekly contest 9. Problem statement is included in the solution.java as
comments.