Fix < operator of Point, add < operator to Pair, fix some related issues plus testts.