Add examples dir + tune algorithm