Switched data storage to int vectors

Will be more useful for the algorithm to solve each grid