changed way to store checkers according to lecture slides