using functions and argv to draw ascii graphic