Implementing cards

Hello. I send you one card I'd like to play in XMage. This is Cruel Bargain. I'm not familiar with Java or GitHub, so this is a card already implemented with other name (Infernal Contract) but with the same mechanic. I hope it is helpful.
Thanks for all your hard work in XMage.
(Sorry for my English).
Thanks for all your hard work in XMage.
(Sorry for my English).