A simple utility for generating ranges that surround a number.