Finish prettytable implementation