public void act()
    {
        if (steps < sideLength && canMove())
        {
            move();
            steps++;
        }

        else if (turns == 0 && canMove())
        {
            turn();
            turn();
	    turn();
	    turns++;
	    steps = 0;
        }
	else if (turns == 1 && canMove()){
	    setDirection(90);
	    steps = 0;
	    turns++;
	}

    }