Player turn function now working.