Many changes: Adding Ajax to retrieve problems. Added an 'example' mode
for problems.