add very rudimentary/prototype range splitter program, without robust input checking