Adding solution for first task. File dir_tree.py is script for printing directory tree for given directory.