first attempt at collision code in board.py
corrects collisions