Wrote a small ranges program