Create tree.py

basic setup for how the input is given, currently by requiring the input to be given when you run the program at the command prompt,
If incorrect, return error