added a grid walker class