Revert "removed error for entering non-integers"

This reverts commit 4c159010a847a18a2b4b4ce3e990e7bf89d625d3.