player win function troubleshooting
for loop and inArray issues