Beta's dont need to be in a 20 gallon tank.
they live really well in just a bit of warm filtered water.
they are sollitary and the males are territorial.
like above, get a divider.
Or you can put them in anything from a glass vase to a jar.
i have one in a wine glass.