Outsourcing comparison of hands from TableTop to its own module for better encapsulation and easier testing.