mutualize drawing loop for tests (java8) and use different characters for each shape