http://codingbat.com/prob/p213334