added patial solution to ternarianweights and a test class for pokerhands