Changed all templates.

template_base :: legacy template. exhaustive.
template:: will use from now on.
template_codeforces :no fast I/O.