Trying to create brute force algorithm and testing with first grid.

Not fully implemented, will finish later.