poker exercices implemented