Purely functional implementation of Texas Holdem in Scala