1007 start to debug

general program has been done, start to debug
1007 Done

Fix bugs
Update

1007 Done
Add 1008