wrote run script
finish script for Q1 Q2
test the tables and figures
fix a bug in main.c