Clear function added

to the whiteboard application.