finish beta 2. print table in test program.