Refactored gridConstruction to OOP format
Added weights to edges in grid
Merge pull request #1 from MEhlinger/master

merge dev with new master