UW grad sentenced to 22 years in Nicaragua prison