Finished IsValidMoves

Finished IsValidMoves. Still need to add more unit tests for Global.cs