Solutions for challenge : Pairs