refctor dir layou for algorithms kata