added 2 more fork detection tests and player wins function