Added error handling if user enters input that is not a single integer value, or is not between 0 and 8.