It takes a hand of five cards and determines it's poker hand