Refactored gridConstruction to OOP format
Added weights to edges in grid