divide_plot function

Divides one ore more plots into subplots