add and edit challenge

assumptions:
either a challenge has both course and exercise linked to it..
or it doesnt have any course or exercise linked to it..