Demonstrates retrieving user input from console using gets method and chomp to suppress new line