Adding problems 4-7 from OOPfun + test for problem 3 (Pair) for equals method