Update program. Get it work.

It works now. It can store the board correctly. Problem of KQ order is
fixed.