void single_thread_master(int argc, char ** argv, int number_of_workers, int id);
void worker(int argc, char ** argv, int number_of_workers, int id);
void perform_static_assignment(struct Scheduling_params * params, double * total_calc_time, int * executed_at_id, int * images, int image_width,int iterations);
void perform_dynamic_assignment(struct Scheduling_params * params, double * total_calc_time, int * executed_at_id, int id, int * images, int image_width, int iterations);
//printf("master %d finished its part in %f \n",0, *total_calc_time);
}
void perform_dynamic_assignment(struct Scheduling_params * params, double * total_calc_time, int * executed_at_id, int id, int * images, int image_width,int iterations)