update fixed problems and added fill on click
added winning if no moves found