Fix line indentation to 4 spaces

Signed-off-by: Luis Lauro González Heredia <lgonzalez@dextratech.com>
Add method to read and validate user input