Shortened placeMines and getAdjacentPos