Implement TableStats

TableStats.java:
- Implement table statistics generation in constructor.
- Implement estimateSelectivity().