Populated athlete DB by iterating all comp tables.

Also pulled out pretty print function into a utils file.