Added a helper class to get grid square positions to the UI