arrange board into x,y coords