Added working Algorithm for error checking when a number that doesn't fit is detected. Highlights errors red.