draw function and "try except" block in asciiDisplay