Added all figures and algorithm