He promised his friend he’d split the cash if he won the lottery. He’s doing just that with his $22 million jackpot