Trim trailing whitespace for all rows.
Grid is initialized with spaces instead of empty chars
No longer need update row logic
Changed formatting for clarity.
Added sample input
Getting input
We could have 30 warehouses.
Updating graph to be undirected
Implemented BFS
Clearing was visisted array between each BFS
Printing output
Clearing data between each test case
Added output text that is after all data sets
Added README file. AC!
Added sample input.
Print out for given input
Implemented the hackiest solution
AC. Added README file