Changed imports, to make easier to experiment during the talk
Better way of calculating possible actions
Shorter names
Explicit imports are safer for editing the code during the talk