1) changed board to ordered dict
2) added a print board func