Day 5: closeFar from Codingbat.