Added parser for optional user specified table size.
Re-wrote topological sort and refactored.