Decrease nesting in genMoves
Merge pull request #1 from jthemphill/patch-1

Decrease nesting in genMoves