Writing some go code to learn chess programming