Implemented grid cell to coordinates function and drawing room perimeter