Solve grid problem
Lot of functionalities
Can choose a step for sampling