<commit_before>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;
import org.teachingextensions.logo.utils.ColorUtils.PenColors;

public class FourSquare
{
  public static void main(String[] args)
  {
    //  Show the tortoise --#1
    Tortoise.show();
    //  Make the tortoise move as fast as possible --#7
    //  Do the following 4 times --#8.1
    //      drawSquare (recipe below) --#6.1
    //      ------------- Recipe for drawSquare --#6.2
    drawSquare();
    //      ------------- End of drawSquare recipe --#6.3
    //      Turn the tortoise 90 degrees to the right --#9
    //  End Repeat --#8.2
  }
  private static void drawSquare()
  {
    for (int i = 0; i < 4; i++)
    {
      Tortoise.setPenColor(PenColors.getRandomColor());
      Tortoise.move(50);
      Tortoise.turn(90);
    }<commit_msg>Finished FourSquare.java<commit_after>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;
import org.teachingextensions.logo.utils.ColorUtils.PenColors;

public class FourSquare
{
  public static void main(String[] args)
  {
    Tortoise.show();
    Tortoise.setSpeed(10);
    for (int i = 0; i < 4; i++)
    {
      drawSquare();
      Tortoise.turn(90);
    }
  }
  private static void drawSquare()
  {
    for (int i = 0; i < 4; i++)
    {
      Tortoise.setPenColor(PenColors.getRandomColor());
      Tortoise.move(50);
      Tortoise.turn(90);
    }
{'fraction_non_alphanumeric': 0.14197952218430035, 'fraction_numerical': 0.025938566552901023, 'mean_word_length': 2.4988066825775657, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '532206', 'n_tokens_mistral': 514, 'n_tokens_neox': 494, 'n_words': 114}