Determining how similar two baseball teams are to each other.