public void increase()
    {
        Block[] tail = new Block[] { body.get(body.size() - 2), body.get(body.size() - 1) };
        Block block;

        if (tail[1].getX() < tail[0].getX())
            block = new Block(tail[1].getX() - Block.WIDTH, tail[1].getY());
        else if (tail[1].getX() > tail[0].getX())
            block = new Block(tail[1].getX() + Block.WIDTH, tail[1].getY());
        else if (tail[1].getY() > tail[0].getY())
            block = new Block(tail[1].getX(), tail[1].getY() + Block.HEIGTH);
        else
            block = new Block(tail[1].getX(), tail[1].getY() - Block.HEIGTH);

        body.add(block);
    }