I'm trying to create entry similar to tables using array
begin{array}{*{20}{r}}
{}| & A |& B \\
\hline
A_1| & {one|} & {two} \\
B_2| & {three|} & {four} \\
\hline
\end{array}
Is there any way to draw continuous vertical lines? (something like hline for drawing horizontal lines?)

|into column argument, saybegin{array}{|*{20}{r|}}, and you will get what you want.