Considerable clean up of Pdb. Now the algorithm for calculating atom contacts is all under new class Grid (also refactored Box to GridCell). Tests for graph calculations passed.