Removed const from challenge arg in create_challenge

Challenge argument shouldn't be const as the challenge is written back after being generated. As it is today, compiler generates warning.