wrote a test for and rewrote removeOnePlayer function