surya's submission of XAndOr | CodeChef