Implemented win checks, fixed movement validity check bugs