function output= Game_of_Life_highlevel(dense_factor, side_size, padding, duration )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here

input=randi(dense_factor,side_size,side_size);
input(input<dense_factor)=0;
input(input==dense_factor)=1;
input2=zeros(side_size+padding);
input2(round((side_size+padding)/2)-round(side_size/2):...
    round((side_size+padding)/2)-round(side_size/2)+side_size-1,...
    round((side_size+padding)/2)-round(side_size/2):...
    round((side_size+padding)/2)-round(side_size/2)+side_size-1)=input;
input=input2;
clear input2
figure(1);
Game_of_Life(input,duration);

end

