private boolean equalArrayLists(ArrayList<LevelItem> a, ArrayList<LevelItem> b)
    {
        if (a.size() != b.size())
            return false;

        for (int i = 0; i < a.size(); i++)
            if (a.get(i) != b.get(i))
                return false;

        return true;
    }