Prints 10 random characters from the database  to system.out