Made a dynamic table in order_result

A table that can take in dynamic number of results. Minimizes lines of
code by a lot as well which is a nice side affect.