Use ranges to shorten the comparisons.
Merge branch 'master' of github.com:pokonski/robot