Program that thoroughly checks user input.