some formatting
fixed deleted changes and formatted table.cpp