Added onto the generateRandomPokemon() function and added a thread to communicate with the client