Moved print table out of loops in Shortest Job