printing out shapes with stars to the java console