Make types of the drawing functions more generic, i.e. Show s => Tree s instead of Tree String

See #49.