Checking for Valid Move first.