Got legalTilePlacement sort of working - passed a few tests but need to make more