added winning condition
added winning conditions