Added doc lines to operator functions
[BF] Fixed problem in GenGrid

where only one cell is populated if the random coordinates generated for the two
points are the same so they override each other and only one cell is populated
instead of two
Operators should return the new state and the cost
Merge branch 'master' into Hossam
All Operations are added and cost
All methods are changed to be for dynamic size + some comments
Added the grid operations and made them return new state and cost