using Plots
using LaTeXStrings

x_min=-2.0;
x_max=0.75;
y_min=-1.25;
y_max=1.25;
n_max=80;
grid_size = 800;

###############################################
# Implement the algorithm here!




###############################################

#Plotting
ylabel = latexstring("y \\in [$y_min,$y_max]")
xlabel = latexstring("x \\in [$x_min,$x_max]")

heatmap(X,Y,Z', c=:thermal, ylabel=ylabel, xlabel=xlabel, title="Mandelbrot Set") #you can choose between different colormaps
