Effects of mobility in a population of prisoner's dilemma players