added readme
Added drawing functions

Added drawing functions for dag and improved parsing