Added a library to handle straight number ranges.
Refactoring update. Simplified the drawing process.