updated BoardToString to print box positions
added correct parameters to print states