Added overloaded argument list to valid-moves.
Cleaned up valid-moves.