Solution for the ascii art challenge