validates that you can only enter numbers into mastery score