You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: Create_your_bw_image.m
    path of file: ./repos/Digital-Image-Processing/Morphological Operations
    
    the code of the file until where you have to start completion: function img = Create_your_bw_image()

  % create your own B & W image

  % create black square of 400px
  img = zeros(400);

  % create white square of 301px inside previous square
  img(50:350,50:350) = ones(301);

  % create black square of 201px inside previous square
  img(100:300,100:300) = zeros(201); 

  % create white square of 101px inside previous square
  img(150:250,150:250) = ones(101); 


    
function img = Create_your_bw_image()

  % create your own B & W image

  % create black square of 400px
  img = zeros(400);

  % create white square of 301px inside previous square
  img(50:350,50:350) = ones(301);

  % create black square of 201px inside previous square
  img(100:300,100:300) = zeros(201); 

  % create white square of 101px inside previous square
  img(150:250,150:250) = ones(101); 

  % save image with name myImage.jpg
  imwrite(img,'myImage.jpg');

  % show image
  imshow(img);
  title('Created B & W Image','FontSize',18);

end