added basic functionality so program prints a tree of 1s whose size depends on the user input