* Create greedy.py * Update greedy.py * Add a doctest and format with black * Update build_directory_md.py