Debugged SpatialGrid with textual test cases in main

still skeptical of class but yeah