Utility class, that provides input prompt with checking of input values