rendered paste body//Zachary Fitzsimmons
import java.io.*;
import java.util.*;
public class BoardGame
{
public static void main(String[] args) throws IOException
{
Scanner scan = new Scanner(new File("board.dat"));
boolean[][] map = new boolean[6][6];
Stack<Location> sloc = new Stack<Location>();
Queue<Location> qloc = new LinkedList<Location>();
Stack<Queue<Location>> s_qloc = new Stack<Queue<Location>>();
}
public <E> Queue<E> copy(Queue<E> q)
{
Queue<E> qCopy = new LinkedList<E>();
E o = q.peek();
E e = q.remove();
while(e != null)
{
qCopy.add(e);
q.add(e);
if(q.peek() == o)
e = null;
else
e = q.remove();
}
return qCopy;
}
}