draw dependency map with html, this is inspired by Duolingo lessons dependency map