Changed get_rows to recursive version
get_rows / get_a_row completed