http://codingbat.com/prob/p199519