added validation for the options input and a sample usage printter