converts image to DotsBoard class and prints it in asci