Validating prompts

Validating the lengths and widths