poker machine - udacity.com CS212