Simple console program that generates a literal tree based on input from the user