Updated the test.java for the gridpuzzletest

Just made it use deque so we know whats going on!!