Fixed two small typos
Example of using a generator for valid_moves()