fixed bug where King piece created infinite loop in available_moves
added check method in game file