cleanup, changed board arrays to integers. allows setting the weight of cells