Cosmetic changes
Added implementation of pair
Implemented tests for pair
Fixed test failures