check to see if my method isValidOrNo works just using inputs from main
method