still working on how to determine whether a square was occupied or not