Updating the class 4 and the demo page for exercises