Support for range based for loop to iterate moves.

Added move count. It's not very fast atm.